package com.cskaoyan.controller;

import com.cskaoyan.bean.BaseRespVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.sql.DataSource;

/**
 * @author stone
 * @date 2021/11/26 10:45
 */
@RestController
public class HelloController {

    @Autowired
    DataSource dataSource;

    @RequestMapping("hello")
    public BaseRespVo hello() {
        return BaseRespVo.ok("hello demo1");
    }
}
